package cn.qingyun.gis.modules.takeaway.mapper;

import cn.qingyun.gis.modules.takeaway.entity.TakeawayProofread;
import cn.qingyun.gis.modules.takeaway.entity.dto.TakeawayTotalDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 外卖勘误 Mapper 接口
 * </p>
 *
 * @author guest
 * @since 2023-10-26
 */
public interface TakeawayProofreadMapper extends BaseMapper<TakeawayProofread> {

    List<TakeawayTotalDto> selectTakeawayTotalList(@Param("page") IPage<TakeawayTotalDto> page, @Param("gridEncodings") List<String> gridEncodings, @Param("gridType") String gridType, @Param("keywords") String keyword, @Param("lon") BigDecimal lon, @Param("lat") BigDecimal lat);

    TakeawayTotalDto queryProofreadById(@Param("id") String id);
}
